﻿using DevExpress.ExpressApp.DC;

namespace EasyXaf.LowCode.WorkflowEditors.Models.Activities;

[DomainComponent]
public class TrueBranch : Branch, IEndNode
{
    public override string ImageName => "WF_True";

    public override bool AllowDelete => false;

    public override bool AllowMove => false;

    public TrueBranch(IWorkflow workflow, IActivity activity)
        : base(workflow, activity)
    {
        Label = "是";
        Expression = "true";
    }
}
